package com.tkjt.pms.common;

import java.util.HashMap;
import java.util.Map;

public class IndexParam {
	
	protected Map<String, Object> params = new HashMap<String, Object>();
	
	public void addParam(String key, Object value) {
		params.put(key, value);
	}
	
	public Object getParam(String key) {
		return params.get(key);
	}
	
	public Map<String, Object> getParams(){
		return params;
	}

	public void addAllParam(Map<String, Object> params) {
		this.params = params;
	}
	public void removeParam(String key) {
		params.remove(key);
	}

}
